import axios from "axios";
//axios.default.baseURL = "http://121.89.205.189:3000/api";

const service =axios.create({
    baseURL:"http://121.89.205.189:3000/api"
})

//请求拦截器和响应拦截器

service.interceptors.request.use((config)=>{
    return config
});
service.interceptors.request.use((res)=>{
    return res;
},(err)=>{
    console.log("响应出错:err",err);
}
);

export default service; 